<?php 

namespace pmvc\mvc\filter;

use pmvc\mvc\RequestChain;
use pmvc\mvc\Response;
use pmvc\mvc\Request;
use pmvc\mvc\RequestFilter;
use pmvc\ioc\Ordered;

/**
 * A base class for filters.
 */
abstract class AbstractRequestFilter
	implements RequestFilter,
	Ordered {

	private $order = Ordered::LOWEST_PRECEDENCE;
	
	/**
	 * {@inheritDoc}
	 */
	public function getOrder() {
		return $this->order;
	}

	/**
	 * Sets the order.
	 * @param $order the order
	 */
	public function setOrder($order) {
		$this->order = $order;
	}
	
}

?>